package com.hitqz.robot.api.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author wengyx
 * @date 2024/8/7
 * 设备姿态
 */
@TableName(value = "robot_equipment_pose")
@Data
public class RobotEquipmentPose {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @NotNull(message = "类型不能为空")
    @Schema(description = "类型")
    private String typeStr;
    @NotNull(message = "设备id不能为空")
    @Schema(description = "设备id")
    private Integer equipmentId;
    @NotBlank(message = "姿态参数不能为空")
    @Schema(description = "姿态json")
    private String json;

}
